package com.ruibo.tax.model;

import com.ruibo.tax.model.base.SendBasic;
import lombok.Getter;
import lombok.Setter;

import javax.persistence.*;

/**
 * @description:
 * @author: 孙 峰
 * @time: 2020/10/15 9:41
 */
@Getter
@Setter
@Entity
@Table(name = "hbjh_xkz_spfk")
public class SWRWPFK extends SendBasic {
    //主键
    private String UUID;

    //数据归属（省）
    private String SJGS;
    //数据归属（地市）
    private String DSGS;
    //数据归属（区县）
    private String QXGS;
    //申请类型
    private String SQLX;

    //排放口唯一编码
    private String PFKWYBM;
    //排放口编号
    private String PFKBH;
    //排污许可证编号
    private String PWXKZBH;
    //排放口类型
    private String PFKLX;
    //排放口地理坐标：经度
    private String PFKJDZB;
    //排放口地理坐标：维度
    private String PFKWDZB;
    //所在省份区划代码
    private String SZSFQHDM;
    //所在地市区划代码
    private String SZDSQHDM;
    //所得区县区划代码
    private String SDQXQHDM;
    //街道乡镇代码
    private String JDXZDM;
    //排放方式
    private String PFFS;
    //排放去向
    private String PFQX;


    @ManyToOne(cascade = CascadeType.ALL, optional = false, fetch = FetchType.LAZY)
    @JoinColumn(name = "JBXXID", referencedColumnName = "UUID")
    private HBJHXKZJBXX hbjhxkzjbxx;
}
